<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>页面A</title>
	</head>
	<body>
		<div align="center" id="div">
			<p>这里是页面A</p>
		<button type="button" id='a01'>跳转到B</button>
		</div>
	</body>
	<script type="text/javascript">
		function log(){
			location.href='num1_2.html';
		}
		document.getElementById('a01').onclick=log;
	</script>
</html>
